﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BDS3M.Controls
{
    public partial class BoxChiTietThuVienAnh : System.Web.UI.UserControl
    {
        public static int catid;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["ID"] != null)
            {
                catid = Convert.ToInt32(Request.QueryString["ID"].ToString());
                rpt_chitietthuvienanh.DataSource = DAL.DCollector.DBCollector.Instance.Paging7Param("paging7Param", "tbl_ThuVienAnh", "ThuVienAnh_Date", "1", "18", "desc", "CategoryAnh_ID", catid.ToString(),true);
                rpt_chitietthuvienanh.DataBind();
            }
        }
    }
}